package oop;

public class J31_RetangleMain {

	
	public static void main(String[] args) {
		J31_RetangleVo r1 = new J31_RetangleVo(4,40,"orange");
		J31_RetangleVo r2 = new J31_RetangleVo(3,35.9f,"blue");
		J31_Retanlgelnterface rs = new J31_RetanlgeService();
		System.out.println(rs.getArea(r1));
		System.out.println(rs.getPerimeter(r1));
		System.out.println(rs.getArea(r2));
		System.out.println(rs.getPerimeter(r2));
		System.out.println(r1.getColor());
		System.out.println(r2.getColor());

	}

}
